package com.zxq.ai.domain.activity;

import com.zxq.ai.domain.ValueObject;
import com.zxq.ai.domain.enums.ActivityParticipantRecordStatus;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public abstract class ActivityParticipantRecord implements ValueObject<Long> {

    private Long recordId;
    private Long activityId;
    private Long userId;

    private ActivityParticipantRecordStatus status;  // 是否已经兑换奖励

    private Long rewardRedeemTaskId; // 奖励发放任务ID

    private Long createAt;  // 创建时间
    private String createBy;  // 创建人 userId
    private Long updateAt;  // 更新时间
    private String updateBy;  // 更新人

    @Override
    public Long id() {
        return recordId;
    }
}
